package de.esk.fraunhofer.XMLAnalyser;

public class XML_WFWItem extends XML_Item{
		private int id;
		private byte wochentage;
		private byte stunden;
		private byte minute;
		private byte sekunde;
		private int wh;
		
		public XML_WFWItem(byte w, byte h,byte m,byte s,int wh){
			this.wochentage=w;
			this.stunden=h;
			this.minute=m;
			this.sekunde=s;
			this.wh=wh;
		}
		
		public XML_WFWItem(String w, String h, String m, String s, String wh){
			this.wochentage=Byte.parseByte(w);
			this.stunden=Byte.parseByte(h);
			this.minute=Byte.parseByte(m);
			this.sekunde=Byte.parseByte(s);
			this.wh=Integer.parseInt(wh);
		}
		
		public XML_WFWItem() {
			
		}

		public XML_WFWItem(int int1) {
			this.id=int1;
		}

		public byte getWochentage(){
			return wochentage;
		}
		
		public byte getStunden(){
			return stunden;
		}
		
		public byte getMinute(){
			return minute;
		}
		
		public byte getSekunde(){
			return sekunde;
		}
		
		public int getWh(){
			return wh;
		}
		
		public void setID(int id){
			this.id=id;
		}
		
		public int getID(){
			return id;
		}
}
